<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Crawler: Crawler::ScopedMutex Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crawler
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_crawler_1_1_scoped_mutex.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_crawler_1_1_scoped_mutex-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Crawler::ScopedMutex Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_scoped_mutex_8hpp_source.html">ScopedMutex.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6b2e2965b0a1d13c112520563129c88e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_scoped_mutex.html#a6b2e2965b0a1d13c112520563129c88e">ScopedMutex</a> (sf::Mutex &amp;mutex)</td></tr>
<tr class="separator:a6b2e2965b0a1d13c112520563129c88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649848a1592d511b31e98a17845ea1e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_scoped_mutex.html#a649848a1592d511b31e98a17845ea1e8">~ScopedMutex</a> ()</td></tr>
<tr class="memdesc:a649848a1592d511b31e98a17845ea1e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="#a649848a1592d511b31e98a17845ea1e8">More...</a><br /></td></tr>
<tr class="separator:a649848a1592d511b31e98a17845ea1e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0c3a383fed3625154a8308e98057115"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_scoped_mutex.html#af0c3a383fed3625154a8308e98057115">ScopedMutex</a> (const <a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;mutex)=delete</td></tr>
<tr class="memdesc:af0c3a383fed3625154a8308e98057115"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#af0c3a383fed3625154a8308e98057115">More...</a><br /></td></tr>
<tr class="separator:af0c3a383fed3625154a8308e98057115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0ce27bf65300ff33198d2c6f5523e5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_scoped_mutex.html#ac0ce27bf65300ff33198d2c6f5523e5b">ScopedMutex</a> (<a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&amp;mutex)=delete</td></tr>
<tr class="memdesc:ac0ce27bf65300ff33198d2c6f5523e5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="#ac0ce27bf65300ff33198d2c6f5523e5b">More...</a><br /></td></tr>
<tr class="separator:ac0ce27bf65300ff33198d2c6f5523e5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82579e0777fc695ac0fc109d46605b79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_scoped_mutex.html#a82579e0777fc695ac0fc109d46605b79">operator=</a> (const <a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;mutex)=delete</td></tr>
<tr class="memdesc:a82579e0777fc695ac0fc109d46605b79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy assignment operator.  <a href="#a82579e0777fc695ac0fc109d46605b79">More...</a><br /></td></tr>
<tr class="separator:a82579e0777fc695ac0fc109d46605b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0adfa500f85f47ee7975239c009121d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_scoped_mutex.html#a0adfa500f85f47ee7975239c009121d5">operator=</a> (<a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&amp;mutex)=delete</td></tr>
<tr class="memdesc:a0adfa500f85f47ee7975239c009121d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator.  <a href="#a0adfa500f85f47ee7975239c009121d5">More...</a><br /></td></tr>
<tr class="separator:a0adfa500f85f47ee7975239c009121d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_scoped_mutex_8hpp_source.html#l00012">12</a> of file <a class="el" href="_scoped_mutex_8hpp_source.html">ScopedMutex.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6b2e2965b0a1d13c112520563129c88e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::ScopedMutex::ScopedMutex </td>
          <td>(</td>
          <td class="paramtype">sf::Mutex &amp;&#160;</td>
          <td class="paramname"><em>mutex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Default constructor </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mutex</td><td>Reference to mutex which is used </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_scoped_mutex_8cpp_source.html#l00004">4</a> of file <a class="el" href="_scoped_mutex_8cpp_source.html">ScopedMutex.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a649848a1592d511b31e98a17845ea1e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::ScopedMutex::~ScopedMutex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default destructor. </p>

<p>Definition at line <a class="el" href="_scoped_mutex_8cpp_source.html#l00009">9</a> of file <a class="el" href="_scoped_mutex_8cpp_source.html">ScopedMutex.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af0c3a383fed3625154a8308e98057115"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::ScopedMutex::ScopedMutex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&#160;</td>
          <td class="paramname"><em>mutex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mutex</td><td><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> which is copied </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac0ce27bf65300ff33198d2c6f5523e5b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::ScopedMutex::ScopedMutex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>mutex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mutex</td><td><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> which is moved </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a82579e0777fc695ac0fc109d46605b79"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a>&amp; Crawler::ScopedMutex::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&#160;</td>
          <td class="paramname"><em>mutex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mutex</td><td><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> which is copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to this </dd></dl>

</div>
</div>
<a class="anchor" id="a0adfa500f85f47ee7975239c009121d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a>&amp; Crawler::ScopedMutex::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>mutex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mutex</td><td><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a> which is moved </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to this </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/Crawler/<a class="el" href="_scoped_mutex_8hpp_source.html">ScopedMutex.hpp</a></li>
<li>Source/Crawler/<a class="el" href="_scoped_mutex_8cpp_source.html">ScopedMutex.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_crawler.html">Crawler</a></li><li class="navelem"><a class="el" href="class_crawler_1_1_scoped_mutex.html">ScopedMutex</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
